import { defineStore } from "pinia";

interface  AppState {
  appLoading: boolean;
}

const useAppStore = defineStore("app", {
  state: ():AppState => {
    return {
      appLoading: true,
    };
  },
  getters: {},
  actions: {
    setAppLoading(value: boolean) {
      this.appLoading = value;
    },
  },
});
export default useAppStore;
